<div ng-controller="PeriodstlCtrl" ng-init="addAction()" class="sui-form form-horizontal">
    <form name="itemForm" novalidate ng-submit="saveData()">
        <ul class="sui-breadcrumb">
            <li>
                <a href="#/periodstl/list">{{'预约'| translate}}</a>
            </li>
            <li class="active">
                {{"创建模板周期"|translate}}
            </li>
        </ul>
        <div class="control-group">
            <label class="control-label v-top"> {{'预约活动名称'| translate}}：</label>
            <div class="controls">
                <input ng-model="que.name" type="text"></input>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'预约人数'| translate}}：</label>
            <div class="controls">
                <input ng-model="que.num" type="number"></input>
                <div ng-show="itemForm.title.$error.required" class="sui-msg msg-error msg-clear help-block error">
                    <div class="msg-con">{{'required'| translate}}</div>
                    <s class="msg-icon"></s>
                </div>
            </div>
        </div>
        <!-- <div class="control-group">
            <label class="control-label v-top">{{'活动时间'| translate}}：</label>
            <div class="controls">
                <input id="start_time" ng-model="que.start_time" datetimepicker name="start_time" value="que.start_time" required>
                <span class="float_left" style="width:10px;">至</span>
                <input id="end_time" ng-model="que.end_time" datetimepicker name="end_time" min-date="{{que.start_time}}" required>
            </div>
        </div> -->
        <div class="control-group">
            <label class="control-label v-top"> {{'备注'| translate}}：</label>
            <div class="controls">
                <textarea rows="3" ng-model="que.note" class="input-xlarge"></textarea>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"></label>
            <div class="controls">
                <button type="submit" id="submit" class="sui-btn btn-primary" ng-disabled="!itemForm.$valid">
                    <span>{{'save' | translate}}</span>
                </button>
            </div>
        </div>
    </form>
</div>